
// LanTestMfcDlg.h : header file
//

#pragma once
#include <iostream>
#include <string>
#include <fstream>
#include <iterator>
#include <locale>
using namespace std;
#define MAX_STR_LEN 256


// CLanTestMfcDlg dialog
class CLanTestMfcDlg : public CDialogEx
{
// Construction
public:
	CLanTestMfcDlg(CWnd* pParent = NULL);	// standard constructor
	void ThaiTest1();
	void ThaiTest2();
	string UTF8ToANSI(const char *str);
	int MyMethod1(wchar_t* sBuf, char* dBuf);
	int MyMethod2(wchar_t* sBuf, char* dBuf);

// Dialog Data
	enum { IDD = IDD_LANTESTMFC_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
};
